#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    int positive = 0, negative = 0, num = 0;

    for (int i = 0; i < 10; i++)
    {
        scanf("%d", &num);
        if (num > 0)
            positive++;
        if (num < 0)
            negative++;
    }
    printf("positive:%d\n", positive);
    printf("negative:%d\n", negative);

    return 0;
}